<% title "Leave Offices" %>
<%= render :partial => 'breadcrumbs' %>

<table class="admin_listing">
  <tr>
    <th>Employee</th>
    <th>Date time left</th>
    <th>Date time back</th>
    <th>Remarks</th><th></th><th></th><th></th>
  </tr>

<% @leave_offices.each do |leave_office| %>
  <tr>
    <td><%=h leave_office.employee_id %></td>
    <td><%=h leave_office.date_time_left %></td>
    <td><%=h leave_office.time_back %></td>
    <td><%=h leave_office.remarks %></td>
    <td><%= link_to 'Show', leave_office %></td>
    <td><%= link_to 'Edit', edit_leave_office_path(leave_office) %></td>
    <td><%= link_to 'Destroy', leave_office, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

